﻿// Decompiled with JetBrains decompiler
// Type: Commom.Util.JsonExtend
// Assembly: MT5Trade, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 8045A2CB-DBD6-41AD-8804-F98CAC1BDC8D
// Assembly location: C:\projects\trade\trade_tool\trade0812\MT5Trade.dll

#nullable enable
namespace Commom.Util;

public static class JsonExtend
{
  public static T JsonToEntity<T>(this string strJson) => Json.ToObject<T>(strJson);

  public static string ToJson(this object entity) => Json.ToJson(entity);
}
